package com.candy.th01;

public class Thread02 extends Thread {

    public Thread02(){

    }

    public Thread02(String name){
        super(name);
    }

    @Override
    public void run() {
        for(int i=0;i<10;i++){
            System.out.println(i+"白龙");
            try {
                Thread.sleep(300);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }
    }



}
